package com.dmgis.qxfw.dataservice.pages.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 功能描述：
 *
 * @auther： zhangyonglong
 * @date：
 * @return：
 * @description
 */

public class SysUser {
    private int id;
    private String userName;
    private String password;
    private String userAccount;
    private String unit;
    private String userLv;
    private String advCode;
   private String advName;
    private String token;
    private String url;


    public SysUser() {
    }

    public SysUser(int id, String userName, String password, String userAccount, String unit, String userLv, String advCode, String advName, String token, String url) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.userAccount = userAccount;
        this.unit = unit;
        this.userLv = userLv;
        this.advCode = advCode;
        this.advName = advName;
        this.token = token;
        this.url = url;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return userAccount
     */
    public String getUserAccount() {
        return userAccount;
    }

    /**
     * 设置
     * @param userAccount
     */
    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    /**
     * 获取
     * @return unit
     */
    public String getUnit() {
        return unit;
    }

    /**
     * 设置
     * @param unit
     */
    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * 获取
     * @return userLv
     */
    public String getUserLv() {
        return userLv;
    }

    /**
     * 设置
     * @param userLv
     */
    public void setUserLv(String userLv) {
        this.userLv = userLv;
    }

    /**
     * 获取
     * @return advCode
     */
    public String getAdvCode() {
        return advCode;
    }

    /**
     * 设置
     * @param advCode
     */
    public void setAdvCode(String advCode) {
        this.advCode = advCode;
    }

    /**
     * 获取
     * @return advName
     */
    public String getAdvName() {
        return advName;
    }

    /**
     * 设置
     * @param advName
     */
    public void setAdvName(String advName) {
        this.advName = advName;
    }

    /**
     * 获取
     * @return token
     */
    public String getToken() {
        return token;
    }

    /**
     * 设置
     * @param token
     */
    public void setToken(String token) {
        this.token = token;
    }

    /**
     * 获取
     * @return url
     */
    public String getUrl() {
        return url;
    }

    /**
     * 设置
     * @param url
     */
    public void setUrl(String url) {
        this.url = url;
    }

    public String toString() {
        return "SysUser{id = " + id + ", userName = " + userName + ", password = " + password + ", userAccount = " + userAccount + ", unit = " + unit + ", userLv = " + userLv + ", advCode = " + advCode + ", advName = " + advName + ", token = " + token + ", url = " + url + "}";
    }
}
